package cc.openhome;

/**
 * Created by Cai Ye on 2016/3/22.
 */
import  java.util.Scanner;

public class ConsoleGame extends GuessGame {
    private Scanner scanner=new Scanner(System.in);
    @Override
    public void print(String text){
        System.out.print(text);
    }
    @Override
    public void println(String text){
        System.out.println(text);
    }
    @Override
    public int nextInt(){
        return scanner.nextInt();
    }

}
